<?php
global $arrLogoTeamEuro2012;
$arrTableMatch = $this->arrTableMatch;
if(!empty($arrTableMatch))
{
?>
    <div id="footer_bangdau">
        <div id="container_bangdau">
            <div id="vongbang_loaitt" class="left">
                <div id="vongbang_">
                    <a href="javascript:;" id="vongbang" class="txt_black_hover_blue">Vòng bảng</a>
                </div>
                <div id="loai_tructiep">
                    <a href="javascript:;" class="txt_black_hover_blue">Loại trực tiếp</a>
                </div>
            </div>
            <div id="bang_dau" class="left">
                <?php
                foreach($arrTableMatch as $dataTableMatch)
                {
                ?>
                    <ul class="left">
                        <li class="name_bangdau"><?php echo $dataTableMatch['Name'];?></li>
                        <?php
                        if(!empty($dataTableMatch['Team']))
                        {
                            $classLi = 'bg_le';
                            foreach($dataTableMatch['Team'] as $key=>$dataTeam)
                            {

                                if(($key+1)%2==0)
                                {
                                    $classLi = 'bg_chan';
                                }
                                if(($key+1)==count($dataTableMatch['Team']))
                                {
                                    $classLi.=' li_last';
                                }
                        ?>
                                <li class="<?php echo $classLi;?>">
                                    <span class="number_stt"><?php echo $key+1;?></span>
                                    <p><span><img src="<?php echo $this->config['euro2012']['images'].$arrLogoTeamEuro2012[$dataTeam['team_id']];?>" align="<?php echo $dataTeam['name'];?>" title="<?php echo $dataTeam['name'];?>" /></span><span><?php echo $dataTeam['name'];?></span></p>
                                    <span><?php echo $dataTeam['point'];?></span>
                                </li>
                        <?php
                            }
                        }
                        ?>
                    </ul>
                <?php
                }
                ?>
            </div>
        </div>
    </div>
<?php
}
?>

<div class="coppy_right">
    <div class="logo"><a href="http://vnexpress.net" title="vnexpress.net"><img src="<?php echo $this->config['images']; ?>/graphics/img_vnexpress.jpg" width="180" alt="vnexpress.net" /></a></div>
    <div class="txt_coppy_right">© <b>Copyright 1997-2011 VnExpress.net</b>, All rights reserved Contact us <br />
        ® VnExpress giữ bản quyền nội dung trên website này. Thông tin tòa soạn
    </div>
    <div class="txx_right_footer"> <a href="http://fptad.com/qc/V/vnexpress/2012/tuyenphongvien/" target="_blank">VnExpress tuyển dụng</a> &nbsp; | &nbsp; <a href="http://polyad.net/Polyad/Lien-he.htm" target="_blank">Liên hệ quảng cáo</a> &nbsp; | &nbsp;<a href="http://vnexpress.net/ContactUs/?id=webmaster@vnexpress.net" target="_blank">Liên hệ tòa soạn</a><br />
        Đường dây nóng:<b>0123.888.0123</b> (HN) - <b>0129.233.3555</b> (TP HCM)
    </div>
</div>
<script type="text/javascript" src="http://180.148.142.152/Library/tt_vne_showads.js"></script>
<script type="text/javascript">
     var domain = '<?php echo $this->config['url'] ?>';
 try
 {
    // Show polyAdds
    PolyShowAds();
 }
 catch(ex){}

$(document).ready(function(){
    $('.match_item').slides({
        preload: true,
        generateNextPrev: true
    });
});
</script>

